package com.boot.model;

import java.io.Serializable;

/**
 * @Auther: zhengshunzhi
 * @Date: 2018/8/30 13:55
 * @Description: 角色实体类
 */
public class Role  implements Serializable {
    //角色id
    private long id;
    //角色名称
    private String name;
    //角色名称
    private String type;

    public Role() { }

    public Role(long id, String name, String type) {
        this.id = id;
        this.name = name;
        this.type = type;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "id:" + this.getId() + "\t" + "name" + this.getName() + "\t" + "type:" + this.getType();
    }
}
